Ext.define('Admin.view.tender.TenderSectionForm', {
    extend: 'Admin.ux.form.FormPanel',
    xtype: 'tendersection-form',
    items: [
    	{	xtype:'hiddenfield',name:'id'},
        {	xtype:'hiddenfield',name:'tenderId'},
        {
            xtype: 'textfield',
            name:'sectionName',
            readOnlyCls:'x-item-abled',
            fieldLabel: '标段名称',
            emptyText:'请输入标段名称[1-50位汉字]',
            minLength:1,
            maxLength:50
        },
        {
            xtype: 'filefield',
            name: 'fileNo',
            fieldLabel: '招标文件编号',
            msgTarget: 'side',
            minLength:1,
            maxLength:50
        },
        {
            xtype: 'textfield',
            name:'purchaseDept',
            readOnlyCls:'x-item-abled',
            fieldLabel: '业主单位',
            emptyText:'请输入标段名称[1-50位汉字]',
            minLength:1,
            maxLength:50
        },
        {
            xtype: 'textfield',
            name:'deposit',
            readOnlyCls:'x-item-abled',
            fieldLabel: '保证金'
        },
        {
            xtype: 'textfield',
            name:'cost',
            readOnlyCls:'x-item-abled',
            fieldLabel: '购标费用'
        },
        {
            xtype: 'filefield',
            name: 'tenderFile',
            fieldLabel: '招标文件',
            msgTarget: 'side',
            allowBlank: false,
            buttonText: '上传招标文件'
        }
    ]
});